
//------------------------------------------------------------------------------

using Apps.Models;
using System;
using System.ComponentModel.DataAnnotations;
namespace Apps.Models.DEV
{

	public partial class DEV_GREASEModel:Virtual_DEV_GREASEModel
	{
		
	}
	public class Virtual_DEV_GREASEModel
	{
		[Display(Name = "设备油脂台账编号")]
		public virtual string GREASE_ID { get; set; }
        [Display(Name = "机组编号")]
		public virtual string EQUIPMENT_ID { get; set; }
        [Required]
        [StringLength(50)]
        [Display(Name = "规格型号")]
		public virtual string MODELTYPE { get; set; }
        [Required]
        [StringLength(50)]
        [Display(Name = "使用部位")]
		public virtual string POSITION { get; set; }
        [Required]
        [Display(Name = "更换周期"), RangeAttribute(1, 999)]
		public virtual int CYCLE { get; set; }
        [Required]
        [Display(Name = "每次更换用量"), RangeAttribute(0, 999)]
		public virtual int CONSUMPTION { get; set; }
		}
}
